package com.cloud.api.domain.stats;

import com.cloud.api.utils.ExcelUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@ExcelUtils.ExcelSheet(watermark = @ExcelUtils.Watermark(type = 0)
)
@Schema(description = "车型统计数据")
public class ModelStatsExcel {

    @Schema(description = "车型")
    @ExcelUtils.ExcelExport(name = "table.field.model")
    private String modelName;

    @Schema(description = "车辆总数")
    @ExcelUtils.ExcelExport(name = "table.field.vinCount")
    private Integer vinCount;

    @Schema(description = "总里程")
    @ExcelUtils.ExcelExport(name = "table.field.accumulativeMileage",columnWidth = 22)
    private Double accumulativeMileage;

    @Schema(description = "运行里程")
    @ExcelUtils.ExcelExport(name = "table.field.runningMileage",columnWidth = 18)
    private Double runningMileage;

    @Schema(description = "平均里程")
    @ExcelUtils.ExcelExport(name = "table.field.aveMileage")
    private Double aveMileage;

/*    @Schema(description = "平均能耗")
    @ExcelUtils.ExcelExport(name = "table.field.aveConsumeEnergy",columnWidth = 25)
    private Double aveConsumeEnergy;*/

    @Schema(description = "平均时速")
    @ExcelUtils.ExcelExport(name = "table.field.aveSpeed")
    private Double aveSpeed;

    @Schema(description = "充电电量")
    @ExcelUtils.ExcelExport(name = "table.field.chargePower",columnWidth = 17)
    private Double chargePower;

    @Schema(description = "平均充电电量")
    @ExcelUtils.ExcelExport(name = "table.field.aveChargePower",columnWidth = 20)
    private Double aveChargePower;
}
